package gui.exit;

import java.awt.event.ActionEvent;

public class SaveAndQuit extends SetModeButton {

	private static final long serialVersionUID = -9141959921878865760L;

	
	public SaveAndQuit(SetOperation setOperation) {
		super("Quitter et sauvegarder",setOperation);		
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		setOperation.saveAndQuit();
	}

}
